//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.aidong.model.wills;

import java.io.Serializable;

public class ShopDprPK implements Serializable {
	protected String shopCode;
	protected String period;

	public ShopDprPK() {
	}

	public ShopDprPK(String shopCode, String period) {
		this.shopCode = shopCode;
		this.period = period;
	}

	public String getShopCode() {
		return this.shopCode;
	}

	public void setShopCode(String shopCode) {
		this.shopCode = shopCode;
	}

	public String getPeriod() {
		return this.period;
	}

	public void setPeriod(String period) {
		this.period = period;
	}

	public boolean equals(Object o) {
		if(this == o) {
			return true;
		} else if(o != null && this.getClass() == o.getClass()) {
			ShopDprPK shopDprPK = (ShopDprPK)o;
			if(this.shopCode != null) {
				if(!this.shopCode.equals(shopDprPK.shopCode)) {
					return false;
				}
			} else if(shopDprPK.shopCode != null) {
				return false;
			}

			boolean var10000;
			label51: {
				if(this.period != null) {
					if(!this.period.equals(shopDprPK.period)) {
						break label51;
					}
				} else if(shopDprPK.period != null) {
					break label51;
				}

				var10000 = true;
				return var10000;
			}

			var10000 = false;
			return var10000;
		} else {
			return false;
		}
	}

	public int hashCode() {
		int result = this.shopCode != null?this.shopCode.hashCode():0;
		result = 31 * result + (this.period != null?this.period.hashCode():0);
		return result;
	}
}
